﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Result output</title>
    <link rel="stylesheet" href="../../style/radiobuttons.css" />
    <link rel="stylesheet" href="../../style/primaryCSS.css" />
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
    <script type="text/javascript" src="../../javascript/JavaScript1.js"></script>
</head>
<?php
	include("../../database/connect.php");
	
    $complaint_id = $_GET["complaint_id"];
    if (empty($complaint_id)) {
        include("../../database//updateDB.php");
        $complaint_id = create_complaint();
    }
?>

<h3>בחר את הפלט הרצוי</h3>
<div class="radiobuttons" id="selectOutput">
        
    <input type="text" id="complaintID" value="<?php echo $complaint_id?>" hidden/>
    <input type="radio" name="outputSelection" id="outputSelection1" value="Patient.php"/>
    <label class="radiolabel" for="outputSelection1">פלט לחולה</label>
    <input type="radio" name="outputSelection" id="outputSelection2" value="Output.php"/>
    <label class="radiolabel" for="outputSelection2">פלט לרופא</label>
                
</div>